using System;

namespace Roommate.IntegrationTests
{
    public class TestConfiguration
    {
        public static void SetupSystem(Action<AdministrationActions> action)
        {
            var administrationActions = new AdministrationActions(IntegrationTestFixture.Browser);

            //reset database first
            administrationActions.ResetDatabase();

            //execute actions
            action(administrationActions);


        }
    }
}